package net.uhuijia.base;

public class BaseCode {

    public static final String RESULT = "result";
    public static final String DATA = "data";
    public static final String CODE = "code";
    public static final String MSG = "msg";
    public static final String IS_STORE = "isStore";

    //接口返回值
    public static final String SUCCESS = "success";
    public static final String FAIL = "fail";
    public static final String LOGIN = "login";

    //通用错误信息
    public static final String SUCCESS_ERROR_CODE = "10000";//请求成功
    public static final String SUCCESS_ERROR_MSG = "请求成功！";//服务器异常

    public static final String LOGIN_ERROR_CODE = "10001";//用户未登入或者TOKEN无效
    public static final String LOGIN_ERROR_MSG = "登入过期，请重新登入！";//用户未登入

    public static final String PARAM_ERROR_CODE = "10002";//缺少必填参数
    public static final String PARAM_ERROR_MSG = "缺少必填参数，请检查！";//参数不正确

    public static final String SERVER_ERROR_CODE = "10003";//服务器异常
    public static final String SERVER_ERROR_MSG = "服务器开小差啦！";//服务器异常
    
    public static final String VERIFYCODE_ERROR_CODE = "10004";//服务器异常
    public static final String VERIFYCODE_ERROR_MSG = "验证码无效！";//服务器异常
    
    public static final String USERPWD_ERROR_CODE = "10005";//服务器异常
    public static final String USERPWD_ERROR_MSG = "用户名或密码不正确！";//服务器异常
    
    public static final String WXOPEN_ERROR_CODE = "10006";//服务器异常
    public static final String WXOPEN_ERROR_MSG = "微信授权信息不正确！";//服务器异常
}
